package ch7;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Huiyuan {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int i = 0;
        for (; i < 3; ) {
            System.out.println("请输入会员信息四位会员号：");
            int a = in.nextInt();
            if (a < 1000 || a > 9999) {
                System.out.println("输入错误,请重新输入");
                continue;
            }
            System.out.println("请输入会员生日：");
            String b = in.next();
            System.out.println("请输入会员积分：");
            int c = in.nextInt();
            System.out.println("您录入的会员信息是：");
            System.out.println(a + "  " + b + "  " + c);
            i++;
        }
    }
}
